Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​Linq.​ILookup<​TKey, TElement>
Assembly: System.Linq
Implemented Interfaces
Defines an indexer, size property, and Boolean search method for data structures that map keys to <see cref="T:System.Collections.Generic.IEnumerable`1" /> sequences of values.
Properties
int
Count
Gets the number of key/value collection pairs in the <see cref="T:System.Linq.ILookup`2" /> .
Collections.​Generic.​IEnumerable<​TElement>
Item
Methods
bool
Contains​(TKey key)
Determines whether a specified key exists in the <see cref="T:System.Linq.ILookup`2" /> .
Returns <see langword="true" /> if <paramref name="key" /> is in the <see cref="T:System.Linq.ILookup`2" /> ; otherwise, <see langword="false" /> .
key
The key to search for in the <see cref="T:System.Linq.ILookup`2" /> .